package cn.ms.neural.moduler.extension.blackwhite.conf;

public class BlackWhiteConf {

	/**
	 * 黑白名单总体开关
	 */
	private boolean blackwhiteSwitch = false;
	/**
	 * 禁止记录开关
	 */
	private boolean disableRecordSwitch = false;
	/**
	 * 访问记录开关
	 */
	private boolean visitRecordSwitch = false;
	
	public BlackWhiteConf() {
	}
	public BlackWhiteConf(boolean blackwhiteSwitch, boolean disableRecordSwitch, boolean visitRecordSwitch) {
		this.blackwhiteSwitch = blackwhiteSwitch;
		this.disableRecordSwitch = disableRecordSwitch;
		this.visitRecordSwitch = visitRecordSwitch;
	}
	
	public boolean isBlackwhiteSwitch() {
		return blackwhiteSwitch;
	}
	public void setBlackwhiteSwitch(boolean blackwhiteSwitch) {
		this.blackwhiteSwitch = blackwhiteSwitch;
	}
	public boolean isDisableRecordSwitch() {
		return disableRecordSwitch;
	}
	public void setDisableRecordSwitch(boolean disableRecordSwitch) {
		this.disableRecordSwitch = disableRecordSwitch;
	}
	public boolean isVisitRecordSwitch() {
		return visitRecordSwitch;
	}
	public void setVisitRecordSwitch(boolean visitRecordSwitch) {
		this.visitRecordSwitch = visitRecordSwitch;
	}
	
	@Override
	public String toString() {
		return "BlackWhiteConf [blackwhiteSwitch=" + blackwhiteSwitch + ", disableRecordSwitch=" + disableRecordSwitch
				+ ", visitRecordSwitch=" + visitRecordSwitch + "]";
	}
	
}
